花费 5 ms
beautifulsoup 获取a(tag)的属性href

一开始使用使用attrs(“href”) 出现错误TypeError: 'dict' object is not callable 由于attrs字典类型 atrrs["href"] 或者["'h ...

Fri Apr 01 04:02:00 CST 2016 0 5832

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM